package com.carleasoft.mps.cms.business.leave.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carleasoft.mps.cms.business.leave.bean.entity.ReportEntity;
import com.carleasoft.mps.cms.business.leave.bean.po.AttendancePo;
import com.carleasoft.mps.cms.business.leave.bean.po.LeavePo;
import com.carleasoft.mps.cms.business.leave.bean.vo.AttendanceVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: yangHao
 * @createDate:2023/6/3
 * @description:
 */
@Mapper
public interface ReportMapper extends BaseMapper<ReportEntity> {
    String getUserInfoDept(@Param("userCode") String userCode);

    Page<AttendanceVo> attendance(@Param("page") Page page, @Param("po") AttendancePo attendancePo);

    Page<ReportEntity> pageQueryReport(@Param("page") Page page, @Param("po") LeavePo leavePo);
}
